package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.Intelligentmanagement.dto.DictDTO;
import com.hksj.Intelligentmanagement.entity.DictEntity;
import com.hksj.Intelligentmanagement.vo.DictVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface DictMapper extends BaseMapper<DictEntity> {
    List<DictVo> queryDictByPage(Page page, @Param("dictDTO") DictDTO dictDTO);

    List<DictVo>queryChildDictByPidId(String id);

}
